package S06;

public class N02 {

	public static void main(String[] args) {
		Computable[]objs= {
			new Text("Hello,张三~"),
			new Cylinder(10,10)
		};
		for (Computable obj : objs) {
			String r = obj.getResult();
			System.out.println(r);
		}

	}

}
